package com.zhs.smartmall.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//开启Feign，并设置扫描的包
@EnableFeignClients(basePackages = "com.zhs.smartmall.order.feign")
//开启nacos的服务注册
@EnableDiscoveryClient
@SpringBootApplication
public class SmartmallOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(SmartmallOrderApplication.class, args);
    }

}
